package com.example.coursehub.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestControllerHttp {

    // 测试CSRF保护状态
    @GetMapping("/test/csrf")
    public String csrfTest() {
        return "CSRF保护已禁用";
    }
}